package com.rxyb.trade.strategy;

import com.rxyb.core.respone.R;
import com.rxyb.trade.gateway.dto.PayOrderReq;
import com.rxyb.trade.gateway.dto.PayOrderRsp;
import com.rxyb.trade.gateway.dto.RefundOrderReq;
import com.rxyb.trade.gateway.dto.RefundOrderRsp;

public interface Strategy {

    R<PayOrderRsp> pay(PayOrderReq payOrderReq);

    R<RefundOrderRsp> refund(RefundOrderReq refundOrderReq);
}
